#define _CRT_SECURE_NO_WARNINGS 1
#include "Heap.h"

test1()
{
	Hp hp;
	int arr[] = { 96,75,21,34,54.63,44 };
	HpInit(&hp);
	for (size_t i = 0; i < sizeof(arr) / sizeof(int); i++)
	{
		HpPush(&hp, arr[i]);
	}
	Print(&hp);
	printf("\n");
	//HpPush(&hp, 34);
	//HpPush(&hp, 21);
	int k = 5;
	while (!HpEmpty(&hp) && k--)
	{
		printf("%d ", HpTop(&hp));
		HpPop(&hp);
	}

	HpDestroy(&hp);
}
int main()
{
	test1();
	return 0;
}